package org.amphiprion.gameengine;

public class Camera {
	// Position the eye in front of the origin.
	private float[] eye = new float[] { 0.0f, 0.0f, 25f };

	// We are looking toward the distance
	private float lookX = 0.0f;
	private float lookY = 0.0f;
	private float lookZ = -5.0f;

	// Set our up vector. This is where our head would be pointing were we holding the camera.
	private float upX = 0.0f;
	private float upY = 1.0f;
	private float upZ = 0.0f;

	public float getEyeX() {
		return eye[0];
	}

	public void setEyeX(float eyeX) {
		this.eye[0] = eyeX;
	}

	public float getEyeY() {
		return eye[1];
	}

	public void setEyeY(float eyeY) {
		this.eye[1] = eyeY;
	}

	public float getEyeZ() {
		return eye[2];
	}

	public void setEyeZ(float eyeZ) {
		this.eye[2] = eyeZ;
	}

	public float getLookX() {
		return lookX;
	}

	public void setLookX(float lookX) {
		this.lookX = lookX;
	}

	public float getLookY() {
		return lookY;
	}

	public void setLookY(float lookY) {
		this.lookY = lookY;
	}

	public float getLookZ() {
		return lookZ;
	}

	public void setLookZ(float lookZ) {
		this.lookZ = lookZ;
	}

	public float getUpX() {
		return upX;
	}

	public void setUpX(float upX) {
		this.upX = upX;
	}

	public float getUpY() {
		return upY;
	}

	public void setUpY(float upY) {
		this.upY = upY;
	}

	public float getUpZ() {
		return upZ;
	}

	public void setUpZ(float upZ) {
		this.upZ = upZ;
	}

	public float[] getEye() {
		return eye;
	}

}
